package com.cloudsigns.factorymanager2.engineering.activity;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.ListView;

import com.cloudsigns.factorymanager2.R;

public class TeamMaintenanceOrdeFeedbackFragment extends Fragment implements View.OnClickListener{
    private ImageView img_feedback;
    private ListView lv;

    @Nullable
    @Override
    public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.fragement_team_maintenance_order_feedback, null);
        img_feedback=view.findViewById(R.id.img_feedback);
        lv=view.findViewById(R.id.lv);

        img_feedback.setOnClickListener(this);
        return view;
    }

    @Override
    public void onClick(View view) {
        Intent mIntent;
        switch (view.getId()){
            case R.id.img_feedback:
                mIntent=new Intent(getActivity(),TeamMaintenanceFeedbackActivity.class);
                startActivity(mIntent);
                break;
        }
    }
}
